package com.zte.purchase.dao;

import com.zte.purchase.model.CType;
import com.zte.purchase.model.CTypeCondition;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface IProductTypeDao {

    boolean addProductType(CType type);

    boolean updateCType(CType type);

    CType findOneCType(String typeId);

    List<CType> queryTypeList(CTypeCondition conn);

}
